package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_cat_activity_score", autoSave = true,uploadCk = true,desc = "怪化猫-积分")
public class LogCatActivityScore extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动Id")
    private int activityId;

    @FieldTypeAnnotation(desc = "积分变化数量")
    private long scoreChange;

    @FieldTypeAnnotation(desc = "积分值")
    private long score;



    public LogCatActivityScore() {

    }

    public LogCatActivityScore(long userId, int activityId, long scoreChange, long score) {
        this.userId = userId;
        this.activityId = activityId;
        this.scoreChange = scoreChange;
        this.score = score;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getScoreChange() {
        return scoreChange;
    }

    public void setScoreChange(long scoreChange) {
        this.scoreChange = scoreChange;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

}
